package com.G3.Global;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.Vector2;

public class Global {
    public static final int VIEWPORT_WIDTH = 800;
    public static final int VIEWPORT_HEIGHT = 480;
    public static final int CONVERT_TO_REAL_V = 20;
    
    public static Vector2 getTouchPosition()
    {
    	Vector2 ret = new Vector2(Gdx.input.getX()*VIEWPORT_WIDTH/Gdx.graphics.getWidth(), 
    			VIEWPORT_HEIGHT - Gdx.input.getY()*VIEWPORT_HEIGHT/Gdx.graphics.getHeight());
    	return ret;
    }
}
